home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
wcl-21.lha
/
wcl-2.1
/
doc
/
INSTALL
< prev
next >
Wrap
Text File
|
1992-09-10
|
2KB
|
74 lines
WCL only runs on SPARCStations under SunOS 4.1 right now.
See wcl.text for porting information.
INSTALLATION
------------
If you just want to install WCL without thinking about anything else,
cd to the main wcl directory and type "make install". This
will cause Lisp to compile and link itself from the sources. You
might want to read about configuration before doing this, however.
When the installation is complete, the newly built binaries will be in
the bin directory and the binaries that came with the distribution
will be in the dist-bin directory. You can delete the dist-bin
directory if you want.
If you want to conserve disk space after WCL has been installed, you may
delete everything but the lib, bin and include directories.
If you want to debug Lisp code, you should also install WGDB,
a modified version of GDB, which is distributed separately.
Refer to doc/wcl.text for information about running and debugging WCL.
CONFIGURATION
---------------------
The CONFIGURATION file in the top-level of the distribution tree
controls how WCL will be rebuilt from sources when doing an
installation. The value of the CC parameter controls which C compiler
will be used by WCL. Either Sun cc or GCC 2.1. can be used, but GCC
2.1 is preferred because it can generate optimized,
postition-independent code WITH debugging information.
Note that code compiled by gcc cannot currently be loaded into a WCL which has
been built using Sun cc because the gcc library routines are not available.
INSTALLING GCC2.1
------------------
configure sun4
<edit make file and change "prefix" from /usr/local to whatever you want>
make stage1
make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" LANGUAGES=c
make CC=stage1/gcc install LANGUAGES=c
INSTALLATION PROBLEMS
---------------------
Running out of swap space is the most common installation problem.
The obvious answer is to get more space.
If you cannot find enough swap space, you can use the binaries
provided in the distribtion. However, you will have to set the
environment variable LD_LIBRARY_PATH to the name of the directory
containing the WCL library.
Don't worry if you see a message like:
ld.so: warning: /usr/lib/libc.so.1.5 has older revision than expected 6
when the distributed binary starts up.
CROSS COMPILATION
-----------------
WCL can be cross compiled using Lucid Common Lisp. The resulting
binary can then be used to rebuild itself. The src/build directory
contains some useful scripts.